def check_is_naelement(self, elem):
    'Checks if object is instance of NaElement.'
    if (not isinstance(elem, netapp_api.NaElement)):
        raise ValueError('Expects NaElement')
Checks if object is instance of NaElement.
def check_is_naelement(self, elem):
    
    if (not isinstance(elem, netapp_api.NaElement)):
        raise ValueError('Expects NaElement')