private boolean METHOD_1 ( TYPE_1 VAR_1 ) { return ( VAR_1 . METHOD_2 ( ) ) instanceof TYPE_2 ; } 

private boolean METHOD_1 ( TYPE_1 VAR_1 ) { return ( VAR_1 != null ) && ( ( VAR_1 . METHOD_2 ( ) ) instanceof TYPE_2 ) ; } 
