def is_related(field):
    """
    Test if a given field is a related field.

    :param DjangoField field: A reference to the given field.
    :rtype: boolean
    :returns: A boolean value that is true only if the given field is related.
    """
    return 'django.db.models.fields.related' in field.__module__