<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def interface_options(score=False, raw=False, features=None, rgb=None):
 """Get an InterfaceOptions for the config."""

  interface = sc_pb.InterfaceOptions()
  interface.score = score
  interface.raw = raw
  if features:
    interface.feature_layer.width = 24
    interface.feature_layer.resolution.x = features
    interface.feature_layer.resolution.y = features
    interface.feature_layer.minimap_resolution.x = features
    interface.feature_layer.minimap_resolution.y = features
  if rgb:
    interface.render.resolution.x = rgb
    interface.render.resolution.y = rgb
    interface.render.minimap_resolution.x = rgb
    interface.render.minimap_resolution.y = rgb
  return interface