Implement a more rigid is length check