> import nibabel
> return True
>
> instead of try/except/else

indeed.