Detect if a game object is still colliding

Is there a method I can use to check if a collision is still occuring after a set amount of time?

I’d like to use an existing script I have and modify it:

dontWalk = this.add.group(); //MY GROUP OF IMMOVABLE TILES
dontWalk.setImmovable = true;

this.matter.world.on('collisionstart', function (event, dontWalk, Units) {
    setInterval(function(){
    //INSERT SCRIPT TO CHECK IF STILL COLLIDING HERE
    },500); 
}

Why not just have a separate callback for ‘collisionactive’?

this.matter.world.on("collisionactive", function(e){
    e.pairs.forEach(function(p){

Otherwise, I guess overlap() should work, or you can use query.collides(), but setInterval and physics is never a good idea.