How to check if there is image title, caption, description?

It’s more a programming question, but try this:

$post = get_post( get_post_thumbnail_id() );
if ( !isset( $post->post_title ) ) {
    echo 'Sorry no title';
} else {
    echo $post->post_title;
}