You want to test if "$1" has "characters" in it? As in, if $1 exists?

if ($1 != $null) { echo YES IT IS. }