Phoc.InputMethodRelay.is_enabled

### Method

# Phoc InputMethodRelayis_enabled

#### Declaration [src]

    bool
    phoc_input_method_relay_is_enabled (
      PhocInputMethodRelay* relay,
      wlr_surface* surface
    )

#### Description [src]

Checks whether input method is currently enabled for surface.

#### Parameters

`surface`

  Type: `wlr_surface*`

  The surface to check.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

#### Return value

Type: `bool`

`true` if input method is enabled, otherwise `false`.