This simple wrapper function checks whether (each entry in) x
begins with the string firstbit, and returns a logical value
or logical vector with one entry for each entry of x.
This function is useful mainly for reducing complexity in model formulae.