def identify_id(id: str) -> bool:
    """
    Try to identify whether this is an ActivityPub ID.
    """
    return re.match(r'^https?://', id, flags=re.IGNORECASE) is not None
def identify_id ( id : str ) -> bool : return re . match ( r'^https?://' , id , flags = re . IGNORECASE ) is not None
Try to identify whether this is an ActivityPub ID.