Improve validateinterfaces.py and replace some direct methods usage

In validateinterfaces.py add new check