def get_framework_by_id(framework_id):
 for fw in get_frameworks():
  if (fw.get_id() == framework_id):
   return fw
 return None

def get_framework_by_id ( framework_id ) : for fw in get_frameworks ( ) : if ( fw . get_id ( ) == framework_id ) : return fw return None
return framework instance associated with given id .