def get_resource_and_action(action, pluralized=None):
    """Return resource and enforce_attr_based_check(boolean).

    It is per resource and action extracted from api operation.
    """
    data = action.split(':', 1)[0].split('_', 1)
    resource = pluralized or '%ss' % data[-1]
    enforce_attr_based_check = data[0] not in ('get', 'delete')
    return resource, enforce_attr_based_check
