Comment commands enhancement and #652 updates

Proposing some updates for comments (checking for existing comment to avoid errors while working with NULL objects), a new `exists` function similarly to the roles exists function and some enhancements for `Roles exists` as per #652