Check if parent post is sticky on attachment page?

The post parent can be accessed by $post->post_parent. The ID of the post parent is retrieved, so can try something like this

$parent_ID = $post->post_parent;
if( is_sticky( $parent_ID ) ) {

    // DO SOMETHING IF POST PARENT IS STICKY

}