if ("/etc/hosts"->file_exists ()) ...                                          /* "ERR_NOT_A_FILE" */

if ("/etc/hosts"->directory_exists ()) ...                                     /* "ERR_NOT_A_DIRECTORY" */

if ("/etc/hosts"->link_exists (FS_DIR)) ...                                    /* "ERR_NOT_A_DIRECTORY_LINK" */

if ("/etc/hosts"->link_exists (FS_FILE)) ...                                   /* 1 */