Polymer based functional materials: A new generation photo‐active candidate for electrochemical application