'Determines whether the instance_state is "pending", meaning there is
an operation under way to bring it in service.'

def _is_instance_state_pending(self, instance_state):

    return (instance_state and ('pending' in instance_state.description))
