Does anonymous can access current node? How to check it in my module?
The check if the anonymous user has access to a given $node, you can use the node_access() like this: node_access('view', $node, user_load(0)).

As a side note, $node-&gt;status == 1 will check that the node is published. An unpublished node is usually not visible by anonymous user. Which users are allowed to view unpublished node depends on the granted permissions and node access module enabled on the site.