Add method is_doc?