code: def find_dimension_by_name(self, dim_name):
          
  
          for dim in self.dimensions:
              if is_equal_strings_ignore_case(dim.name, dim_name):
                  return dim
          return None
docs: the method searching dimension with a given name