def _validate_eallowed(self, eallowed, field, value):
    "Test if value is in list\n        The rule's arguments are validated against this schema:\n        {'type': 'list'}\n        "
    if (value not in eallowed):
        warn('"{}" is not in the preferred entries for "{}", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.'.format(value, field))
Test if value is in list
The rule's arguments are validated against this schema:
{'type': 'list'}
def _validate_eallowed(self, eallowed, field, value):
    "Test if value is in list\n        The rule's arguments are validated against this schema:\n        {'type': 'list'}\n        "
    if (value not in eallowed):
        warn('"{}" is not in the preferred entries for "{}", please consider changing this entry to conform or add this to the ``eallowed`` field in the schema.'.format(value, field))