is there any Function to extract all the view modes for specific node?
The code below will give me the list of view modes

$entity_info = entity_get_info('node');
$list_of_view_nodes = array_keys($entity_info['view modes']);