Checking for non primatives and non objects?