import re


def validate_base32_key(key):
    """Validates a given base32 key.

    Args:
        key: Base32 key to validate as string.

    Returns:
        True if the given string is a valid base32 key, False if not.
    """

    if key is not None:
        search = re.compile(r'^[A-Z2-7]{52}$').search
        return bool(search(key))
    return False