'Check if a specified section exists.
:param name: Name of section to check for
:return: boolean indicating whether the section exists'

def has_section(self, name):

    return (name in self.itersections())
