Though that can be done, it will never return true since whenever the signal will be aborted, the code would enter the catch block because of the exception thrown.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Additionally, you can check the status of the abort signal before doing any state-changing assignments.
Though that can be done, it will never return true since whenever the signal will be aborted, the code would enter the catch block because of the exception thrown.