1. Check if variable is None or numpyarray

    Check if variable is None or numpyarray