fyi, instanceof implies !=null