'Check for an enabled parameter - pop it out - and return as boolean.'

def __is_enabled(self, params):

    enabled = True
    if ('enabled' in params):
        raw_enabled = params.pop('enabled')
        enabled = util.asbool(raw_enabled)
    return enabled
