post_exists(get_the_title($postID)); //returns $postID or 0
if ( get_post_status ( $post_id ) ) { // do stuff }