<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bitrate(self):
 """ Returns bitrate as an integer in bps """

        b=0
        if self.__dict__['bit_rate']:
            try:
                b=int(self.__dict__['bit_rate'])
            except Exception as e:
                print "None integer bitrate"
        return b