name="vimal"

if name:
    print("We have a name")  #true if there is some string in name
else:
    print("we dont have anything")



a=""

if a:
    print("We have a name")  #true if there is some string in name
else:
    print("we dont have anything")