@staticmethod
def _ensure_tuple(attr):
    """Return tuple with the provided value. Returns the value if a tuple."""
    if not isinstance(attr, tuple):
        return attr,
    else:
        return attr
