def lowercase_validator(ns, value):
    """
    Converts input string to lowercase.

    :param pypsi.namespace.Namespace ns: active namespace
    :param value: input value
    :returns: validated value (in lowercase)
    """
    return value.lower() if value else ''
