def METHOD_NAME(self, source_position):
    """
    Checks if the handed over position is equal to this.
    :param source_position: a source position.
    :type source_position: ASTSourceLocation
    :return: True if equal, otherwise False.
    :rtype: bool
    """
    if not isinstance(source_position, ASTSourceLocation):
        return False
    return (self.get_start_line() == source_position.get_start_line()
            and self.get_start_column() == source_position.get_start_column()
            and self.get_end_line() == source_position.get_end_line()
            and self.get_end_column() == source_position.get_end_column())