Yes the new plugin requires an is valid function that the old one does not have. Just create it in that object