--- title: "check profile for existence()" slug: "basic-check-profile" updated: 2026-08-11T06:59:44Z published: 2026-08-11T06:59:44Z canonical: "docs.lobstersoftware.com/basic-check-profile" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # check profile for existence() Checks if the Profile with name **a** exists. If parameter **b** is set to "true", the status (active) and validity period of the profile is checked as well. Parameter **d** can be used to check whether the profile has an Input agent of type "Message" and if its context and queue match the parameter values. The function returns "true" for a valid profile or "false" otherwise. If parameter **c** is set to "true", an exception is thrown instead of returning value "false". ## Parameters | Parameter | Description | | --- | --- | | a | Profile name. | | b | (optional) *true* checks on the status (*active*) and the validity period of the profile. Default: *false*. | | c | (optional) *true* throws an exception instead of returning value *false* for invalid/unknown profile. Default: *false*\. | | d | (optional) If set, the profile is checked for an Input Agent of type *Message* and if its context and queue values match the parameter values. The format is *:*. **Example:** The value *System:DWForwardReceiver* checks if the profile has an Input Agent of type *Message* with context *System* and queue *DWForwardReceiver.* | ## Examples | Parameter a | Parameter b | Parameter c | Parameter d | Result | Mapping aborted | | --- | --- | --- | --- | --- | --- | | DemoProfile_valid | true | true | | true | N | | DemoProfile_invalid | true | true | | | Yes | | DemoProfile_invalid | true | false | | false | No | A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data).