def METHOD_NAME(self, other: "ICommand", equal: bool = False) -> bool:
    """
    Indicate if the other command is the same type and targets the same element.
    Args:
        other: other command to match against
        equal: indicate if the match must check for param equality
    Returns: True if the command match with the other else False
    """
    raise NotImplementedError()