def isNullValue(value):
 return (isinstance(value, basestring) and (value.upper() == NULL))

def isNullValue ( value ) : return ( isinstance ( value , basestring ) and ( value . upper ( ) == NULL ) )
returns whether the value contains explicit null value .