is_votable#

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

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

Parameters:
sourcepath-like object or file-like object

Path or file object containing a VOTABLE xml file. If file, must be readable.

Returns:
is_votablebool

Returns True if the given file is a VOTable file.