from typing import Callable


def some_func(string: str, function: Callable) -> bool:
    """Check if some elements in a string match the function (functional).

    Args:
        string: <str> string to verify.
        function: <callable> function to call.

    Returns:
        True if some of elements are in the sequence are True.

    Examples:
        >>> assert some_func('abcdefg&%$', str.isalpha)
        >>> assert not some_func('&%$=', str.isalpha)
    """
    return any(map(function, string)) and not all(map(function, string))