Methods detecting if an instance variable is defined.