def safestart(text: str, piece: str, lc: bool = False) -> bool:
    """
    Checks if text starts with another, safely

    :param text: the string to check
    :param piece: the start string
    :return: true if text starts with piece
    """
    check = text if lc else text.lower()
    return len(text) >= len(piece) and check.startswith(piece)