@staticmethod
def _ensure_list(attr):
    """Always returns a list with the provided value. Returns the value if a list."""
    if isinstance(attr, str):
        return [attr]
    elif isinstance(attr, tuple):
        return list(attr)
    else:
        return attr
