Returns whether the current page is the full page view of the passed-in node.
$node: A node object.
The ID of the node if this is a full page view, otherwise FALSE.
function node_is_page($node) {
$page_node = menu_get_object();
return !empty($page_node) ? $page_node->nid == $node->nid : FALSE;
}