code: def getMargin(self, name):
          
          for margin in self._margins:
              if margin.getName() == name:
                  return margin
          return None
docs: Provides the requested margin.
             Returns a reference to the margin if found and None otherwise