def is_compatible_with_board(self, board):
    '\n\t\tCheck if the Tock app is compatible with a particular Tock board.\n\t\t'
    metadata = self.parse_metadata()
    if (metadata['tab-version'] == 1):
        return (('only-for-boards' not in metadata) or (board in metadata['only-for-boards']) or (metadata['only-for-boards'] == ''))
    else:
        raise TockLoaderException('Unable to understand version {} of metadata'.format(metadata['tab-version']))
Check if the Tock app is compatible with a particular Tock board.
def is_compatible_with_board(self, board):
    '\n\t\t\n\t\t'
    metadata = self.parse_metadata()
    if (metadata['tab-version'] == 1):
        return (('only-for-boards' not in metadata) or (board in metadata['only-for-boards']) or (metadata['only-for-boards'] == ))
    else:
        raise TockLoaderException('Unable to understand version {} of metadata'.format(metadata['tab-version']))