Are these genital warts? I'm concerned

I haven't been active for months and I've just noticed that some bumps on my penis are starting to occur, I'm getting concerned that it is genital warts but at the same time I would not know how I would have transmitted it, please if anyone could help me out here and let me know what they think it would help me a lot.

image