Idea for new node for compositing - Switch Value

i am not a coder, but i have a little notions with pyhon.
Create a new node for the compositing is possible ?
I a little idea, i simple node for swithing images or other with values.

http://www.pasteall.org/pic/show.php?id=75923