If I use Pypi version 1.14.6 I get
bids_validator.BIDSValidator().is_bids('/sub-01/func/sub-01_echo-1_sbref.json')
Out[18]: False
If I use Pypi version 1.14.7 I get
bids_validator.BIDSValidator().is_bids('/sub-01/func/sub-01_echo-1_sbref.json')
Out[19]: True
I think v1.14.6 is the correct result, because indeed the task entity is missing