Anyone who passed the Fundamentals of Engineering test and is registered with the respective professional state regulatory organization can be considered a real engineer.
I will tell you who are not real engineers: "front-end engineer", "node.js engineer", "machine learning engineer", "java engineer", "react engineer", etc, etc.
This is exactly why software developers shouldn't call themselves engineers. Real engineers (structural, mechanical) are legally bounded to denounce unsafe or incorrect design or practices
I will tell you who are not real engineers: "front-end engineer", "node.js engineer", "machine learning engineer", "java engineer", "react engineer", etc, etc.