To Find Within A Pl/sql Block, If A Cursor Is Open use below
Use the %ISOPEN cursor status variable.