def check_bool(text: str) -> bool:
    """Check if a string is bool-like and return that."""
    text = text.lower()
    if text in ('true', 't', '1', 'yes', 'y', 'on'):
        return True
    else:
        return False