<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_bandwidth_group(self, name):
 """Get a bandwidth group by name. in name of type str Name of the bandwidth group to get. return bandwidth_group of type :class:`IBandwidthGroup` Where to store the bandwidth group on success. """

        if not isinstance(name, basestring):
            raise TypeError("name can only be an instance of type basestring")
        bandwidth_group = self._call("getBandwidthGroup",
                     in_p=[name])
        bandwidth_group = IBandwidthGroup(bandwidth_group)
        return bandwidth_group