process_exists_rcl

process_exists_rcl(npr)

Returns whether a process with id npr exists after generation generate_processes_rcl().

Parameters:npr (int) – process number
Returns:True if process exists, else False.
Return type:(bool)

Example

>>> define_process_rcl(1, 'u u~ -> d d~ g g', 'LO')
>>> generate_processes_rcl()
>>> process_exists_rcl(1)
True