Add type checking to limatake
We did have problem with Roberto to use this function cause we was expecting it to work like others scan functions.
But it does not take any detector as param.
This MR add type checking to be sure it is used the way it was defined.