def action?(resource, action)
      resource = resource.to_sym
      action = action.to_sym

      return false unless resource?(resource)

      _resources.find(resource).actions.names.include? action
    end
def action?(resource, action)
      resource = resource.to_sym
      action = action.to_sym

      return false unless resource?(resource)

      _resources.find(resource).actions.names.include? action
    end
Whether an action is defined on a resource on the version.
 @param resource [Symbol] The resource's name
 @param action [Symbol] The action's name
 @return [Boolean]