def METHOD_NAME(marker):
    """
    Checks if marker has proper suffix.
    """
    for s in OperationFactory.__suffix:
        if marker.endswith(s):
            return
    raise NotSupportedOperationException(
        "Incorrect marker format {}, suffix is missing.".format(marker)
    )