def is_valid_delay(instance):
    """Something that ends with ms."""
    if not isinstance(instance, str):
        return False
    if not instance.endswith("ms"):
        return False
    return True