def METHOD_NAME(self, board, mycolor, newTurn=True):
    """this function should be used for applying the algorithm"""
    if not newTurn:
        return self.coordinate_in_danger
    self.coordinate_in_danger = []
    self.coordinate_in_danger = self.__apply_algorithm(
        board, mycolor, self.__not_protected
    )
    self.coordinate_in_danger += self.__apply_algorithm(
        board, mycolor, self.__attacked_and_not_protected
    )
    return self.coordinate_in_danger