@staticmethod
def _return_id_type(resp):
    """
        Check dict for ID and return ID and type if present.

        :param resp: (dict) Response from NetworkGroup, NetworkAddress or FQDNS GET
        :return: id (str), type (str) or None None
        """
    if 'id' in resp.keys():
        return resp['id'], resp['type']
    else:
        return None, None
