is_votable

astropy.io.votable.is_votable(source)[source]

Reads the header of a file to determine if it is a VOTable file.

Parameters
sourcestr or readable file-like object

Path or file object containing a VOTABLE xml file.

Returns
is_votablebool

Returns True if the given file is a VOTable file.