original_docstring: 
          Checks if connection (A, B) is made between neighboring points
  
          :param connection: (A, B) where A and B are point objects
          :return: boolean
          
docstring: Checks if connection (A, B) is made between neighboring points
docstring_tokens: Checks if connection ( A B ) is made between neighboring points
code: def __validate_connection_length(self, connection):
          """
          Checks if connection (A, B) is made between neighboring points
  
          :param connection: (A, B) where A and B are point objects
          :return: boolean
          """
          a = connection.a
          b = connection.b
          distance = math.sqrt((a.x - b.x)**2 + (a.y - b.y)**2)
          if distance > 1.5 or distance == 0:
              return False
          else:
              return True
code_tokens: def __validate_connection_length ( self , connection ) : a = connection . a b = connection . b distance = math . sqrt ( ( a . x - b . x ) ** 2 + ( a . y - b . y ) ** 2 ) if distance > 1.5 or distance == 0 : return False else : return True
short_docstring: Checks if connection (A, B) is made between neighboring points
short_docstring_tokens: Checks if connection ( A B ) is made between neighboring points
comment: """
          Checks if connection (A, B) is made between neighboring points
  
          :param connection: (A, B) where A and B are point objects
          :return: boolean
          """