code: def restrict_leveraged_etfs(self):
      return SecurityListRestrictions(self.leveraged_etf_list)
  
imports: import warnings
  from datetime import datetime
  from os import listdir
  import os.path
  import pandas
  import pytz
  import catalyst
  from catalyst.errors import SymbolNotFound
  from catalyst.finance.asset_restrictions import SecurityListRestrictions
  from catalyst.catalyst_warnings import ZiplineDeprecationWarning
label_desc: Use image node_id 3 for calling the SecurityListSet obj's underlying member method code with example usage: obj.restrict_leveraged_etfs() and returns: SecurityListRestrictions