Determine if get_the_image has image on Get the image Plugin

You can just run a conditional check on the result of get_the_image(). Either it will have returned an image or not.

if ( function_exists( 'get_the_image' ) ) {
  $image = get_the_image(array('echo'=>false));
  if( ! empty ( $image ) ) {
     // do something with the image

  } else {
     // do something if there is no image

  }

}

error code: 523