(interface=None)
return interface.power()
Determines if the interface is powered on.

  Args:
    interface: the CWInterface to operate on.

  Returns:
    bool: True if interface is on, False otherwise
Determines if the interface is powered on.
Determines if the interface is powered on .
def GetInterfacePower(interface=None):
  """Determines if the interface is powered on.

  Args:
    interface: the CWInterface to operate on.

  Returns:
    bool: True if interface is on, False otherwise
  """
  if not interface:
    interface = GetDefaultInterface()
    if not interface:
      return False

  return interface.power()
def GetInterfacePower ( interface = None ) : if not interface : interface = GetDefaultInterface ( ) if not interface : return False return interface . power ( )