revert fix for #7526 as it is breaking pydsl, this check should

be added higher up[ the stack...
Merge pull request #7891 from s0undt3ch/develop

Improve code readability.