def find_dimension_by_name(self, dim_name):
for dim in self.dimensions:<EOL><INDENT>if is_equal_strings_ignore_case(dim.name, dim_name):<EOL><INDENT>return dim<EOL><DEDENT><DEDENT>return None<EOL>
the method searching dimension with a given name