def check_magic(magic):
 if (magic != 779314790):
  raise RuntimeError('This file does not seems to be an sff file.')

def check_magic ( magic ) : if ( magic != 779314790 ) : raise RuntimeError ( 'This file does not seems to be an sff file.' )
it checks that the magic number of the file matches the sff magic .