# is_signer · Rell standard library · Chromia Docs (concept)

> function is_ signer(pubkey: byte_array ): boolean Deprecated : Use 'op_context.is_signer' instead Check if a given public key is a signer of the current tr

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/is_signer/

FUNCTION

# is\_signer

```signature
function is_signer(pubkey: byte_array): boolean
```

**Deprecated**: Use 'op\_context.is\_signer' instead

Check if a given public key is a signer of the current transaction; i.e. if it's in the list of signers
returned by `op_context.get_signers()`.

**Parameters**

* **pubkey** — the public key to check

**Returns**

`true` if the given public key is found, `false` otherwise

Since 0.6.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/is_signer.html)Generated API reference, mirrored from the live docs
