code: def discoverable(self, boolean):
          
          if(boolean):
              r = self.flag({
                  "flag": "make_discoverable"
              })
          else:
              r = self.flag({
                  "flag": "make_not_discoverable"
              })
  
          return r
docs: Pass through helper function for flag function.